package com.lizhenhua.fmmall.service;

import com.lizhenhua.fmmall.entity.ProductCommentsVo;
import com.lizhenhua.fmmall.vo.ResultVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCommentsService {
    ResultVo productCommentsVoList(String productId);

    // 根据商品id实现评论的分页查询
    ResultVo selectPageHelperCommentsByProduct(String productId,
                                                              int pageNum,
                                                              int limit);
    // 统计多有评论的接口
    ResultVo getCountByProductId(String productId);

}
